import os

prefix = 'gg'
suffix = '@knlib.com'
# for i in range(1, 51):
#     if i in [1, 7, 28, 41]:
#         continue
for i in [7, 28]:
    emailId = prefix + str(i).zfill(2) + suffix
    jar_cmd = 'java -Doperation.name=scanInfo ' + '-DemailId=' + emailId + ' -Drun.in.aws=true -Dthread.num=20 -jar  scaninfo.jar'
    cmd = 'nohup ' + jar_cmd + ' > ' + './scaninfo_log/' + emailId + ".log &"
    print(cmd)
    # os.system(cmd)
# os.system()
